import PageTools from '@/components/PageTools/index.vue'
import UploadExcel from '@/components/UploadExcel.vue'
import ImgageUpload from '@/components/ImgageUpload/index.vue'

export default {
  install(Vue) {
    Vue.component('PageTools', PageTools)
    // 注册一个excel上传组件
    Vue.component(UploadExcel.name, UploadExcel)
    // 1、组件注册成功
    Vue.component(ImgageUpload.name, ImgageUpload)
  }
}

// Vue.use()
